package com.scgl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产计划产品信息对象 scgl_mation
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class ScglMation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 层级 */
    private Long ductId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String mater;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String rialname;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String rialtype;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private Long demand;

    /** 本次计划产量 */
    @Excel(name = "本次计划产量")
    private Long doutput;

    /** 车间 */
    @Excel(name = "车间")
    private Long shopId;

    /** 生产线 */
    @Excel(name = "生产线")
    private Long productId;

    /** 生产工艺 */
    @Excel(name = "生产工艺")
    private Long craftId;

    public void setDuctId(Long ductId) 
    {
        this.ductId = ductId;
    }

    public Long getDuctId() 
    {
        return ductId;
    }
    public void setMater(String mater) 
    {
        this.mater = mater;
    }

    public String getMater() 
    {
        return mater;
    }
    public void setRialname(String rialname) 
    {
        this.rialname = rialname;
    }

    public String getRialname() 
    {
        return rialname;
    }
    public void setRialtype(String rialtype) 
    {
        this.rialtype = rialtype;
    }

    public String getRialtype() 
    {
        return rialtype;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setDemand(Long demand) 
    {
        this.demand = demand;
    }

    public Long getDemand() 
    {
        return demand;
    }
    public void setDoutput(Long doutput) 
    {
        this.doutput = doutput;
    }

    public Long getDoutput() 
    {
        return doutput;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setCraftId(Long craftId) 
    {
        this.craftId = craftId;
    }

    public Long getCraftId() 
    {
        return craftId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ductId", getDuctId())
            .append("mater", getMater())
            .append("rialname", getRialname())
            .append("rialtype", getRialtype())
            .append("specification", getSpecification())
            .append("unit", getUnit())
            .append("demand", getDemand())
            .append("doutput", getDoutput())
            .append("shopId", getShopId())
            .append("productId", getProductId())
            .append("craftId", getCraftId())
            .toString();
    }
}
